package com.sctvcloud.bazhong.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by rh008 on 2017/7/24.
 */

public class FUsers implements Serializable {
    private static final long serialVersionUID = 261901718080837050L;
    private String userId;
    private String avatar;
    private String nickName;
    private List<ThirdUser> openList;
    private String phoneNumber;
    private String token;
    private int userType;
    /**
     * 第三方的绑定类型,
     * 此字段只在登录时才能设置
     */
    private int bindType;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public List<ThirdUser> getOpenList() {
        return openList;
    }

    public void setOpenList(List<ThirdUser> openList) {
        this.openList = openList;
    }

    public String getUName(){
        return nickName;
    }

    public String getUIcon(){
        return avatar;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public int getBindType() {
        return bindType;
    }

    public void setBindType(int bindType) {
        this.bindType = bindType;
    }

    @Override
    public String toString() {
        return "FUsers@" +
                Integer.toHexString(hashCode())+
                " {userId='" + userId + '\'' +
                ", avatar='" + avatar + '\'' +
                ", nickName='" + nickName + '\'' +
                ", openList=" + openList +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", token='" + token + '\'' +
                ", userType='" + userType + '\'' +
                ", bindType='" + bindType + '\'' +
                '}';
    }
}
